function classTimer(){
	var mi = this;
	
	mi.gameInterval = "";
	mi.gameLastDate = Date.now()/1000;

	mi.ultimoInterval = "";
	mi.ultimoTiroData = 0;
	
	mi.start = function(){
		if(mi.gameLastDate <= (Date.now()/1000)){
			mi.gameLastDate = (Date.now()/10000)+(1000/30);
			mi.gameInterval = setInterval('core.updateGame()', 1000/30);
		};
	};
	
	mi.ultimoTiro = function(){
		if(mi.ultimoTiroData+configuracao.tiroIntervalo <= Date.now()){
			mi.ultimoTiroData = Date.now();
			return true;
		};
		return false;
	};
	
};